angular.module('expert', [
        'ui.router',
        'ngAnimate',
        'mall.directive',
        'service.expertsys',
        'service.pushques',
        'service.conversation',
        'expertsys.home',
        'expertsys.conversation',
        'expert.service.auth',

    ])

    .run(
        ['$rootScope', '$state', '$stateParams',
            function ($rootScope, $state, $stateParams) {
                $rootScope.$state = $state;
                $rootScope.$stateParams = $stateParams;
            }
        ]
    )

    .config(
        ['$stateProvider', '$urlRouterProvider', '$locationProvider',
            function ($stateProvider, $urlRouterProvider, $locationProvider) {
                $urlRouterProvider
                    .otherwise('/moreproficient');
            }
        ]
    );